import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user.js'
import home from './modules/home.js'
import reader from './modules/reader.js'
import search from './modules/search.js'
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({
  modules: {
    user,
    home,
    reader,
    search
  },
  getters
})
